<?php
session_start();
include_once('config/db_conn.php');

include_once('db_config/db_recommend.php');
$recommend =new recommend();
$rs_recommend=$recommend->recommend_list();
	$table='ninerr_recommend';

	$recommend_value =sanitize($_REQUEST['textarea']);
	$recommend_by =$_SESSION['user_name'];
	$for=$_REQUEST['multi_gigs_id'];
	$dataArray=array("recommend_value"=>$recommend_value,"recommend_by"=>$recommend_by,"multiple_gigs_id"=>$for);
	$recommend->dataInsert($table,$dataArray);
	reDirect('index.php');

?>